home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Game Master (3rd Edition)
/
The Game Master 3rd edition.iso
/
files
/
gametors
/
navy
/
putpic.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1986-01-16
|
660b
|
21 lines
Procedure getpic( VAR picname:str20);
{This procedure will clear the screen and display the picture
in the named file}
Begin
Window(1,1,80,25);
Clrscr; {Clear Screen}
For i:=1 to 24 do Screen[i]:='';
Assign(Source,Picname); {Assign pic name to be displayed}
Reset(Source);
i:=1;
While not EOF(Source) do {Read picture and put in array}
begin
Readln(Source,Line);
Screen[i]:=Line;
Fastwrite(Screen[i],7,0,2); {Display picture}
i:=i+1;
end;
Snapshot(1); {Save picture for future use}
end;